package idv.loveloser.dao;

/**
 * AbstractMdlPost entity provides the base persistence definition of the
 * MdlPost entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractMdlPost implements java.io.Serializable {

	// Fields

	private Long id;
	private String module;
	private Long userid;
	private Long courseid;
	private Long groupid;
	private Long moduleid;
	private Long coursemoduleid;
	private String subject;
	private String summary;
	private String content;
	private String uniquehash;
	private Long rating;
	private Long format;
	private Short summaryformat;
	private String attachment;
	private String publishstate;
	private Long lastmodified;
	private Long created;
	private Long usermodified;

	// Constructors

	/** default constructor */
	public AbstractMdlPost() {
	}

	/** minimal constructor */
	public AbstractMdlPost(String module, Long userid, Long courseid,
			Long groupid, Long moduleid, Long coursemoduleid, String subject,
			String uniquehash, Long rating, Long format, Short summaryformat,
			String publishstate, Long lastmodified, Long created) {
		this.module = module;
		this.userid = userid;
		this.courseid = courseid;
		this.groupid = groupid;
		this.moduleid = moduleid;
		this.coursemoduleid = coursemoduleid;
		this.subject = subject;
		this.uniquehash = uniquehash;
		this.rating = rating;
		this.format = format;
		this.summaryformat = summaryformat;
		this.publishstate = publishstate;
		this.lastmodified = lastmodified;
		this.created = created;
	}

	/** full constructor */
	public AbstractMdlPost(String module, Long userid, Long courseid,
			Long groupid, Long moduleid, Long coursemoduleid, String subject,
			String summary, String content, String uniquehash, Long rating,
			Long format, Short summaryformat, String attachment,
			String publishstate, Long lastmodified, Long created,
			Long usermodified) {
		this.module = module;
		this.userid = userid;
		this.courseid = courseid;
		this.groupid = groupid;
		this.moduleid = moduleid;
		this.coursemoduleid = coursemoduleid;
		this.subject = subject;
		this.summary = summary;
		this.content = content;
		this.uniquehash = uniquehash;
		this.rating = rating;
		this.format = format;
		this.summaryformat = summaryformat;
		this.attachment = attachment;
		this.publishstate = publishstate;
		this.lastmodified = lastmodified;
		this.created = created;
		this.usermodified = usermodified;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getModule() {
		return this.module;
	}

	public void setModule(String module) {
		this.module = module;
	}

	public Long getUserid() {
		return this.userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public Long getCourseid() {
		return this.courseid;
	}

	public void setCourseid(Long courseid) {
		this.courseid = courseid;
	}

	public Long getGroupid() {
		return this.groupid;
	}

	public void setGroupid(Long groupid) {
		this.groupid = groupid;
	}

	public Long getModuleid() {
		return this.moduleid;
	}

	public void setModuleid(Long moduleid) {
		this.moduleid = moduleid;
	}

	public Long getCoursemoduleid() {
		return this.coursemoduleid;
	}

	public void setCoursemoduleid(Long coursemoduleid) {
		this.coursemoduleid = coursemoduleid;
	}

	public String getSubject() {
		return this.subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getSummary() {
		return this.summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getUniquehash() {
		return this.uniquehash;
	}

	public void setUniquehash(String uniquehash) {
		this.uniquehash = uniquehash;
	}

	public Long getRating() {
		return this.rating;
	}

	public void setRating(Long rating) {
		this.rating = rating;
	}

	public Long getFormat() {
		return this.format;
	}

	public void setFormat(Long format) {
		this.format = format;
	}

	public Short getSummaryformat() {
		return this.summaryformat;
	}

	public void setSummaryformat(Short summaryformat) {
		this.summaryformat = summaryformat;
	}

	public String getAttachment() {
		return this.attachment;
	}

	public void setAttachment(String attachment) {
		this.attachment = attachment;
	}

	public String getPublishstate() {
		return this.publishstate;
	}

	public void setPublishstate(String publishstate) {
		this.publishstate = publishstate;
	}

	public Long getLastmodified() {
		return this.lastmodified;
	}

	public void setLastmodified(Long lastmodified) {
		this.lastmodified = lastmodified;
	}

	public Long getCreated() {
		return this.created;
	}

	public void setCreated(Long created) {
		this.created = created;
	}

	public Long getUsermodified() {
		return this.usermodified;
	}

	public void setUsermodified(Long usermodified) {
		this.usermodified = usermodified;
	}

}